<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
 
 
<s:form id="addOrgDepartmentFormId" name="addOrgDepartmentFormName" method="post" action="dept/save.do">
	<s:hidden id="pid" name="pid" />
	<table class="form-table">
		<tr>
			<th width="20%">上级部门：</th>
			<td>${parent_dept.deptname}</td>
		</tr>
		<tr>
			<th>
				<span class="note_red">*</span>部门序号：
			</th>
			<td>
				<s:textfield key="sortno" title="请输入部门序号" cssClass="form-txtinput" id="sortno" size="2" maxlength="2" value="%{model.sortno}"/>
				&nbsp;&nbsp;部门树的同级部门将按此序号进行排序
			</td>
		</tr>
		<tr>
			<th>
				<span class="note_red">*</span>部门名称：
			</th>
			<td>
				<s:textfield key="deptname" title="请输入部门名称" cssClass="form-txtinput" id="deptname" size="30" maxlength="30"  value="%{model.deptname}"/>
				&nbsp;&nbsp;最大长度为30个字符
			</td>
		</tr>
		<tr>
			<th>备注：</th>
			<td valign="top">
				<s:textarea key="memo" title="是否输入备注？" cols="30" rows="5" id="memo" maxlength="200" style="height:60px;" value="%{model.memo}"></s:textarea>
				最大长度为200个字符
			</td>
		</tr>
	</table>
	<div class="win-btn-panel">
		<input class="btn-short" type="button" name="subbtn" value="确 定" title="点击新建部门"
			onClick="Ext.milan.pagejs.organization.page_orgdepartmentmanage.addDept();">
		<input class="btn-short" type="button" name="subbtn" value="取 消" title="取消新建部门"
			onClick="Ext.milan.pagejs.organization.page_orgdepartmentmanage.hideWin();">
	</div>
</s:form>
